package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class User_ScoreBean implements Serializable,IJsonParser{

	/**
	 * "user_score": {
         "yfl_level": 1,
        "level": 1,
        "sy_score": 570,
        "sy_level": 1,
        "actor_id": 28,
        "yfl_score": 0,
        "growth_num": 0
    },
	 */
	private static final long serialVersionUID = 1L;
	private int yfl_score ;
	private int actor_id ;
	private int sy_score ;
	private int level ;
	private int yfl_level ;
	private int sy_level ;
	private int growth_num ;
	public int getLevel() {
		return level;
	}
	public int getYfl_level() {
		return yfl_level;
	}
	public int getSy_level() {
		return sy_level;
	}
	public int getGrowth_num() {
		return growth_num;
	}
	public int getYfl_score() {
		return yfl_score;
	}
	public int getActor_id() {
		return actor_id;
	}
	public int getSy_score() {
		return sy_score;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		if (json != null) {
			GsonBuilder builder = new GsonBuilder();
			Gson gson = builder.create();
			return gson.fromJson(json, User_ScoreBean.class);
		}
		return null;
	}

}
